package com.china08.yxyapi.entity.db.lecture;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 客户举报 备课包
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_yxy_lecture_feed_back", catalog = "yxy_yxy", indexes = { @Index(columnList = "prepack_id") })
public class YxyLectureFeedBack extends BaseEntity {

    @Column(name = "prepack_id", columnDefinition = "varchar(32) comment '备课包id'", nullable = false)
    private String prepackId;

    @Column(name = "bookcontents_id", columnDefinition = "varchar(32) comment '目录id'")
    private String bookcontentsId;

    @Column(name = "bookcontents_Name", columnDefinition = "varchar(32) comment '章节名称'")
    private String bookcontentsName;

    @Column(name = "pack_name", columnDefinition = "varchar(255) comment '备课包名称'")
    private String packName;

    @Column(name = "school_id", columnDefinition = "varchar(255) comment '学校id'")
    private String schoolId;

    @Column(name = "school_name", columnDefinition = "varchar(255) comment '学校名字'")
    private String schoolName;

    @Column(name = "uploadUser_Nick", columnDefinition = "varchar(255) comment '上传者名称' ")
    private String uploadUserNick;

    @Column(name = "audit_user_name", columnDefinition = "varchar(255) comment '审核者名称' ")
    private String auditUserName;

    /**
     * 学段id redundant column
     */
    @Column(name = "phase_id", columnDefinition = "varchar(32) comment '学段id'")
    private String phaseId;

    /**
     * 学段名称 redundant column
     */
    @Column(name = "phase_name", columnDefinition = "varchar(32) comment '学段名称' ")
    private String phaseName;

    /**
     * 学科id redundant column
     */
    @Column(name = "subject_id", columnDefinition = "varchar(32) comment '学科id' ")
    private String subjectId;

    /**
     * 学科名称, redundant column
     */
    @Column(name = "subject_name", columnDefinition = "varchar(32) comment '学科名称' ")
    private String subjectName;

    /**
     * 版本id redundant column
     */
    @Column(name = "version_id", columnDefinition = "varchar(32) comment '版本id' ")
    private String versionId;

    /**
     * 版本名称, redundant column
     */
    @Column(name = "version_name", columnDefinition = "varchar(32) comment '版本名称' ")
    private String versionName;

    @Column(name = "user_nick", columnDefinition = "varchar(256) comment '举报者名称'", nullable = false)
    private String userNick;

    /** 行政区域:省ID */
    @Field(value = "area_id_province")
    private String areaIdProvince;

    /** 行政区域:市ID */
    @Field(value = "area_id_city")
    private String areaIdCity;

    /** 行政区域:区县ID */
    @Field(value = "area_id_district")
    private String areaIdDistrict;

    @Column(name = "reason", columnDefinition = "varchar(32) comment '举报原因' ", nullable = false)
    private String reason;

    @Column(name = "description", columnDefinition = "varchar(256) comment '举报描述'")
    private String description;

    @Column(name = "status", columnDefinition = "int(11) comment '上架状态0:下架 1:上架'")
    private Integer status = 1;

    @Column(name = "down_reason", columnDefinition = "varchar(255) comment '下架原因' ", nullable = false)
    private String downReason;

    @Column(name = "is_high_quality", columnDefinition = "int(11) comment '是否精品 0否 1是'")
    private Integer isHighQualityYx = 0;

    @Column(name = "is_vip", columnDefinition = "int(11) comment '是否vip 0否 1是'")
    private Integer isVip = 0;

    @Column(name = "res_count", columnDefinition = "int(11) comment '资源数量'")
    private Integer resCount = 0;

    @Column(name = "feed_back_count", columnDefinition = "int(11) comment '举报数量'")
    private Integer feedBackCount = 0;

    @Column(name = "ranks", columnDefinition = "int(11) comment '资源等级 0-不标记,1-合格,2-良好,3-优秀'")
    private Integer ranks = 0;

    @Column(name = "is_view", columnDefinition = "int(11) comment '是否显示 0-不显示,1-显示'")
    private Integer isView = 1;

    /**
     * 是否分享 0——私有 1——分享到教育云 2——分享到学校
     */
    @Column(name = "share", columnDefinition = "int(11) comment '是否显示 0-不显示,1-显示'")
    private Integer share = 0;

    @Column(name = "audit_user_id", columnDefinition = "varchar(255) comment '审核人id' ", nullable = false)
    private String auditUserId;

    @Column(name = "audit_school_name", columnDefinition = "varchar(255) comment '审核人学校名称' ", nullable = false)
    private String auditSchoolName;

    @Column(name = "audit_school_id", columnDefinition = "varchar(255) comment '审核人学校id' ", nullable = false)
    private String auditSchoolId;

    public String getPrepackId() {
        return prepackId;
    }

    public void setPrepackId(String prepackId) {
        this.prepackId = prepackId;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPhaseId() {
        return phaseId;
    }

    public void setPhaseId(String phaseId) {
        this.phaseId = phaseId;
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getAreaIdProvince() {
        return areaIdProvince;
    }

    public void setAreaIdProvince(String areaIdProvince) {
        this.areaIdProvince = areaIdProvince;
    }

    public String getAreaIdCity() {
        return areaIdCity;
    }

    public void setAreaIdCity(String areaIdCity) {
        this.areaIdCity = areaIdCity;
    }

    public String getAreaIdDistrict() {
        return areaIdDistrict;
    }

    public void setAreaIdDistrict(String areaIdDistrict) {
        this.areaIdDistrict = areaIdDistrict;
    }

    public String getPackName() {
        return packName;
    }

    public void setPackName(String packName) {
        this.packName = packName;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getUploadUserNick() {
        return uploadUserNick;
    }

    public void setUploadUserNick(String uploadUserNick) {
        this.uploadUserNick = uploadUserNick;
    }

    public String getBookcontentsId() {
        return bookcontentsId;
    }

    public void setBookcontentsId(String bookcontentsId) {
        this.bookcontentsId = bookcontentsId;
    }

    public String getBookcontentsName() {
        return bookcontentsName;
    }

    public void setBookcontentsName(String bookcontentsName) {
        this.bookcontentsName = bookcontentsName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public Integer getIsHighQualityYx() {
        return isHighQualityYx;
    }

    public void setIsHighQualityYx(Integer isHighQualityYx) {
        this.isHighQualityYx = isHighQualityYx;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Integer getResCount() {
        return resCount;
    }

    public void setResCount(Integer resCount) {
        this.resCount = resCount;
    }

    public Integer getFeedBackCount() {
        return feedBackCount;
    }

    public void setFeedBackCount(Integer feedBackCount) {
        this.feedBackCount = feedBackCount;
    }

    public String getAuditUserName() {
        return auditUserName;
    }

    public void setAuditUserName(String auditUserName) {
        this.auditUserName = auditUserName;
    }

    public String getDownReason() {
        return downReason;
    }

    public void setDownReason(String downReason) {
        this.downReason = downReason;
    }

    public Integer getRanks() {
        return ranks;
    }

    public void setRanks(Integer ranks) {
        this.ranks = ranks;
    }

    public Integer getIsView() {
        return isView;
    }

    public void setIsView(Integer isView) {
        this.isView = isView;
    }

    public Integer getShare() {
        return share;
    }

    public void setShare(Integer share) {
        this.share = share;
    }

    public String getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(String auditUserId) {
        this.auditUserId = auditUserId;
    }

    public String getAuditSchoolName() {
        return auditSchoolName;
    }

    public void setAuditSchoolName(String auditSchoolName) {
        this.auditSchoolName = auditSchoolName;
    }

    public String getAuditSchoolId() {
        return auditSchoolId;
    }

    public void setAuditSchoolId(String auditSchoolId) {
        this.auditSchoolId = auditSchoolId;
    }

}
